Support for Trill capacitive sensors#657
Support for Trill capacitive sensors#657giuliomoro wants to merge 7 commits intoelectro-smith:masterfrom
Conversation
comparisons, added definition for __try/__catch which were failing the CI
…format wouldn't know how to handle it
used:
clang-format-11 --verbose -i src/dev/trill/*{.cpp,.h} examples/Trill*/*{.cpp.h}
|
Hi y'all! This is looking great! While I think there is quite a bit that would make this feel more like the rest of the libDaisy, but I'd be happy to merge it with a few minor tweaks. At a minimum I think we'll want to:
From a style/consistency perspective, there are a few more changes that would affect the API if they're changed later:
Since this would be a new device, I'm open to the API changing a bit over time. So the bullet-list items aren't strictly necessary at this time, but would be welcome at any point. However, I would like for the initial few points to be addressed before we merge it. I don't foresee any of the recent/upcoming changes having an impact on your PR. So no rush. Thanks again for the contribution, and let me know if you any questions! |
This is the "Linux" library (available here) wrapped into libDaisy. The low-level I2c I/O stuff is done here: https://github.com/giuliomoro/libDaisy/blob/64c08470c079693cd9e2ab59cf2b85a5cff4727c/src/dev/trill/I2c.h
Contributions by me and @virvel .
Tested by @dromer and @virvel when it was based on 17ee39b.
Previous discussion giuliomoro#1
Closes #602